package com.example.entity;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.validation.constraints.NotNull;
/**产品定义**/
@Entity
@Table(name="PolicyFactor")
public class PolicyFactor implements Serializable{

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private long id;
	
	private long subPolicyId;//险种投保单Id
	
	private long insuranceId;//产品中心--险种id
	
	private long factorId;//产品中心---因子id
	
	private String factorName;//产品中心---因子名称
	
	private String feeOrfacotr;//1：fee，2：facotr
	
	private long factorOptionId;//产品中心--因子选项Id
	
	private String factorOptionValue;//产品中心--因子费用

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getSubPolicyId() {
		return subPolicyId;
	}

	public void setSubPolicyId(long subPolicyId) {
		this.subPolicyId = subPolicyId;
	}

	public long getFactorId() {
		return factorId;
	}

	public void setFactorId(long factorId) {
		this.factorId = factorId;
	}

	public String getFactorName() {
		return factorName;
	}

	public void setFactorName(String factorName) {
		this.factorName = factorName;
	}

	public long getFactorOptionId() {
		return factorOptionId;
	}

	public void setFactorOptionId(long factorOptionId) {
		this.factorOptionId = factorOptionId;
	}

	public String getFactorOptionValue() {
		return factorOptionValue;
	}

	public void setFactorOptionValue(String factorOptionValue) {
		this.factorOptionValue = factorOptionValue;
	}

	public long getInsuranceId() {
		return insuranceId;
	}

	public void setInsuranceId(long insuranceId) {
		this.insuranceId = insuranceId;
	}

	public String getFeeOrfacotr() {
		return feeOrfacotr;
	}

	public void setFeeOrfacotr(String feeOrfacotr) {
		this.feeOrfacotr = feeOrfacotr;
	}
	
	
}